<?php

/**
 * Prize form.
 *
 * @package    maxgifts
 * @subpackage form
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class PrizeForm extends BasePrizeForm
{
  public function configure()
  {
      $this->widgetSchema['image'] = new sfWidgetFormInputFile();
      
      $this->validatorSchema['image'] = new sfValidatorFile(array(
        'required'   => false,
        'path'       => sfConfig::get('sf_upload_dir'),
        ));
  }
}
